package helper

type Response struct {
	Data    interface{} `json:"data"`
	Code    int         `json:"code"`
	Message string      `json:"message"`
}

func SendResponse(v interface{}, code int, message string) Response {
	return Response{
		Data:    v,
		Code:    code,
		Message: message,
	}
}
